home *** CD-ROM | disk | FTP | other *** search
-
- Sharing Scripts & Suites
- ------------------------
-
- You╒ve developed the coolest desktop script or suite of scripts and want to
- share it with the world. How to proceed?
-
- 1. First, think about your user and other script developers who might use and
- read your scripts. Ask someone else to look at your work and use it before you
- upload. Or play the role of ╘dumb user╒ yourself. When people import your work
- into their object database they want to have fun -- they don╒t want to
- struggle.
-
- 2. Keep a ╥virgin╙ copy of the Frontier folder on your hard disk. Import your
- script or suite into that virgin copy. Are there any problems? If so, try
- again.
-
- 3. Use the right Export method. If it╒s a desktop script, use the Export a
- Desktop Script command in the UserLand/Export sub-menu. If it╒s anything else,
- use the Export an Object command. This is very, very important. If you use the
- wrong export format, people who double-click on the icon will likely get an
- error from Frontier. They will certainly get surprising results.
-
- 4. If it╒s a desktop script, before you export it, copy and paste it into the
- system.deskscripts table and export from there. This makes running and
- importing the script a snap because Frontier.root ships with a
- system.deskscripts table. All the UserLand-supplied desktop scripts ╥live╙ in
- the system.deskscripts table. Unless there╒s a really good reason to export a
- desktop script from another location, please use the system.deskscripts table.
-
- 5. Lean towards using suites. Unless you╒re providing a simple, self-contained
- desktop script, develop and export your stuff from a sub-table in the suites
- table. That will give you enough room to add all the readme text that your
- users will need. And you can organize your code intelligently and provide lots
- of comments and annotations. Follow the examples of the UserLand-supplied To Do
- List suite, or the Network Utilities suite.
-
- 6. If it╒s not a desktop script and it╒s not big enough to be a suite, export
- it from one of two places: the scratchpad table or your people table. When the
- receiver imports the object, a dialog prompts for a location to import it to.
- At this point, your user can change your location to one that makes more sense
- to him or her. It╒s important that you test such scripts in different locations
- to be sure that they will work no matter where they were loaded into the object
- database. Or, if they must be run from a fixed location, you should tell the
- user about your rules in some readme text.
-
- 7. Provide instructions. In the Network Utilities suite, we open a readme
- wptext window when the suite is imported. Your users will want brief,
- to-the-point information about your scripts. It╒s OK to sell and be
- enthusiastic. But be factual and explain the who, what, why, when, where and
- how of the functionality you are providing. If you╒re providing a desktop
- script, you can use a wptext object, or (as we do) assume that the user has
- Apple╒s TeachText utility.
-
- 8. Confirm before you install any agents. If your suite installs a script in
- the system.agents table (as the Network Utilities and To Do List suites do),
- confirm that this is OK with your user. Installing an agent is like installing
- an INIT in the System Folder. They may just be importing your suite to see if
- they want to use it. Don╒t make any assumptions.
-
- 9. Where to upload. Once you╒re satisfied that the world is ready for your
- scripts (and your scripts are ready for the world!) upload them to the UserLand
- Forum on CompuServe or the UserLand Discussion Board on AppleLink. On
- CompuServe, we╒ve reserved a special library, DL2, for new scripts and suites.
- On AppleLink, upload your scripts to the ╥Shared Scripts╙ folder in the
- Discussion Board. See the ╥UserLand On-Line╙ TeachText file for information
- about our on-line services.
-
- 10. Shareware is OK. Feel free to use our on-line services to distribute
- shareware implemented as a Frontier suite or set of desktop scripts. Just be
- sure it╒s clearly labeled as shareware in the description, and don╒t ask for
- money if you╒re just providing a 20-line script that only works on your
- machine. We╒re not sure what kind of market will develop for Frontier scripts,
- or if a market will develop. Stay tuned!
-
- Summary: It takes a special attitude to be a software developer. Frontier can
- make it easier to produce useful functionality for others, but you still have
- to test and document, and even sell your work so that others can enjoy the
- fruits of your labor. We╒re glad to help where we can, we have a strong
- interest in your success. Let us know if we can help!
-
- Author: EL.GRANDE
-